import {Role} from './Role.js'
/*
- 创建一个类Zombie继承Role，属性有
-  speed(速度), power(攻击力),
- 覆盖toHtml方法，返回img 带className='zombie'
- 声明成员方法walk
- 声明成员方法eat
- 导出默认Zombie
*/

export default class Zombie extends Role {
  constructor(name, img, health, speed, power) {
    super(name, img, health)
    this.speed = speed
    this.power = power
  }
  walk() {}
  eat() {}
}